package com.sgm.service;

import com.sgm.mapper.c.DemoCMapper;
import com.sgm.mapper.d.DemoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class DemoService {

    @Autowired
    private DemoMapper domeMapper;

    @Autowired
    private DemoCMapper demoCMapper;

    public String test(String str){
        return this.domeMapper.test(str);
    }

    public String test(){
        return this.demoCMapper.test();
    }
}
